package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 演练管理对象 def_drill
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class DefDrill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    private Integer drillId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String drillName;

    /** 演练状态 */
    @Excel(name = "演练状态")
    private Long drillStatus;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 初始分数 */
    @Excel(name = "初始分数")
    private Integer initScore;

    public void setDrillId(Integer drillId) 
    {
        this.drillId = drillId;
    }

    public Integer getDrillId() 
    {
        return drillId;
    }
    public void setDrillName(String drillName) 
    {
        this.drillName = drillName;
    }

    public String getDrillName() 
    {
        return drillName;
    }
    public void setDrillStatus(Long drillStatus) 
    {
        this.drillStatus = drillStatus;
    }

    public Long getDrillStatus() 
    {
        return drillStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setInitScore(Integer initScore)
    {
        this.initScore = initScore;
    }

    public Integer getInitScore()
    {
        return initScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drillId", getDrillId())
            .append("drillName", getDrillName())
            .append("drillStatus", getDrillStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("initScore", getInitScore())
            .toString();
    }
}
